package com.qianji.mapper;

import com.qianji.pojo.PrizeDto;
import com.qianji.vo.PrizeAddVO;
import com.qianji.vo.PrizeUpdateVO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * Created by 阳家桂 on 2021/3/12 15:32
 */
@Mapper
public interface PrizeMapper {
    //添加奖品
    Integer addPrize(PrizeAddVO prizeAddVO);

    //修改奖品
    Integer updatePrize(PrizeUpdateVO prizeUpdateVO);

    //查询所有奖品
    List<PrizeDto> selectAll(PrizeDto prizeDto);

    //查询总数
    Long count(PrizeDto prizeDto);
}
